package com.lieve.servicea.config;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author sunlijiang
 * @date 2020/2/29
 */
@Configuration
@Slf4j
public class LieveConfig {

    @Bean(initMethod = "init")
    public LieveComponent lieveComponent() {
        return new LieveComponent();
    }

    @Bean
    public LieveBeanPostProcessor lieveBeanPostProcessor() {
        return new LieveBeanPostProcessor();
    }

}
